const util=require("./util");
const m=require("./main");
module.exports.calc=function(a=0,b=0,type="add"){
    let result=0;
    switch(type){
        case "add":
            result=util.add(a,b);
            break
        case "minus":
            result=m.minus(a,b);
            break

    }
    return result;
};
